Record one server key failure experience, one server key failure
When I came to the company in the morning, my heart crashed.
"Instructor tim, the remote logon key of the test server is invalid." I asked him if he had made any changes. The exact
Come to the company in the morning, received this news, my heart is broken."Tim Teacher, the test server's remote login key has failed", I asked him, what changes did not, get the exact reply is "just upload some code", again asked, insisted only
Key LoginDirect point local shell open after direct SSH IP connectionRequires a CentOS user to log in and select the machine key.After loginsudo su -rootChange root passwordpasswd RootModify a file1 vi /etc/ssh/sshd_configPasswordauthentication
The advantage of using key login: 1, easy, do not have to knock on the user name and password every time, 2, security, the key length is generally 1024, more than the password we set to much longer;Here are the steps to sign in for the new user,
Deadlock is no stranger to DBAs or database developers. It can lead to a variety of causes. In general, database application developers have certain considerations during design, so as to avoid deadlocks as much as possible. however, due to some
Complete the SSL (Secure Socket Layer) Certificate Service through Linux + Apache + OpenSSL, and provide secure HTTPS (Hypertext Transfer Protocol over Secure Socket Layer) services.
Device SSL
1. device OpenSSL
Tar-zxvf openssl-0.9.8a.tar.gz
CD
Introduction: This is a detailed page of Apache SSL encryption configuration. It introduces PHP, related knowledge, skills, experience, and some PHP source code.
Class = 'pingjiaf' frameborder = '0' src = 'HTTP: // biancheng.dnbc?info/pingjia.php?
Configuration of the primary site (basic configuration)(1) Basic Configuration:ServerRoot "/mnt/software/apache2" # location of your apache software installation. If no absolute path is specified for other specified directories, the directory is
Description of the HTTP. conf parameter in the Apache configuration file
Apache configuration is configured in the httpd. conf file. Therefore, the following configuration commands are all modified in the httpd. conf file.Configuration of the
Configuration of the primary site (basic configuration)
(1) Basic Configuration:
Serverroot "/mnt/software/apache2" # location of your Apache software installation. If no absolute path is specified for other specified directories, the directory is
1) by default, the SSL module is not installed. If you use this module, You need to specify the -- with-http_ssl_module parameter when compiling nginx.
Wget http://nginx.org/download/nginx-1.3.16.tar.gz
Tar-XF
Author: herodongOICQ: 6678705 * Lone Wolf: The original article is too big, more than 36 K. I chose to paste the important part, if you need the original article can MAILTO: wolflx@263.net our goal is to install a web server that allows us to host
The compiled command line program in OpenSSL windows:
Http://downloads.sourceforge.net/gnuwin32/openssl-0.9.8h-1-bin.zip
Lamp enables SSL
First, install the OpenSSL and Apache SSL modules and execute:
Yum install OpenSSL mod_ssl-y
The
Use nginx encryption proxy to enhance security by using ssl-based transmission, and you do not need to write programs to implement user authentication, which is highly practical. First compile and install: I'm using debiantesting, first install pcre,
I. Basics: 1. root and sudo
Root Account: by default, the root account is locked in ubuntu. To enable this function, set the password for the root account for sudo passwd.
If you need to lock and disable: sudo passwd-l root
Groups with root
Debian: Load ssl for apache-Debian information for the Linux release. See the following for details. Apache1.3.28 + php4 + mysql have been created in Debian, And now ssl is added
Openssl is required. No, debian should be apt.
1. apt-get install
The SSL certificate formats used by different platforms and languages are often different. Here we record some common conversion methods.
All are converted using OpenSSL or keytool. You do not need to implement the conversion using your own code.
In ubuntu and debian, the main functional modules of apache2 (MPM) are divided into different software packages:
Apache2-mpm-event: event-driven MPM;
Apache2-mpm-perchild: This is just a transitional "fake" software package that relies on
We usually use "http: //" to access the website. At this time, the transmitted content may be intercepted by others because the content is transmitted in plaintext, therefore, it is very insecure to transmit some privacy and password-related
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.